package com.jwb.pub.model;

public class JavaModel {
	String typeClassName;
	Object object;

	
	public JavaModel(Object object )
	{
		this.object = object;
		this.typeClassName = object.getClass().toString();
	}
	
	
	public JavaModel(Object object,String typeClassName )
	{
		this.object = object;
		this.typeClassName = typeClassName;
	}
	
	
	public String getTypeClassName() {
		return typeClassName;
	}

	public void setTypeClassName(String typeClassName) {
		this.typeClassName = typeClassName;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
		this.typeClassName = object.getClass().toString();
	}

}
